package com.huawang.mdesign.model.service.util.reqif;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * An abstract super class for elements that can own attributes.
 *
 * @author xdl
 * @since 2023-04-04
 */
@Getter
@Setter
public abstract class AbstractSpecElementWithAttributes extends Identifiable {

    /**
     * The values of the attributes owned by the element.
     */
    @XStreamAlias(ReqIFConstants.VALUES)
    private List<AttributeValue> values = new ArrayList<>();
}
